package com.murray.assignment.mapper;

import com.murray.assignment.pojo.Address;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressMapper {
    /**
     * @param userId 传入用户id
     * @return 返回的用户的地址
     * @Description 查询用户地址
     */
    List<Address> selectAddress(Integer userId);
    Address selectAddressByOrderId(Integer orderId);
}
